package cn.wolfcode.car.business.service;

import cn.wolfcode.car.business.domain.CarPackageAuditHistory;
import cn.wolfcode.car.business.query.CarPackageAuditHistoryQuery;
import cn.wolfcode.car.common.base.page.TablePageInfo;

import java.io.InputStream;
import java.util.List;

/**
 * 套餐审核对象接口
 */
public interface ICarPackageAuditHistoryService {

    /**
     * 分页
     * @param qo
     * @return
     */
    TablePageInfo<CarPackageAuditHistory> query(CarPackageAuditHistoryQuery qo);


    /**
     * 查单个
     * @param id
     * @return
     */
    CarPackageAuditHistory get(Long id);


    /**
     * 保存
     * @param carPackageAuditHistory
     */
    void save(CarPackageAuditHistory carPackageAuditHistory);

  
    /**
     * 更新
     * @param carPackageAuditHistory
     */
    void update(CarPackageAuditHistory carPackageAuditHistory);

    /**
     *  批量删除
     * @param id
     */
    void deleteBatch(Long id);

    /**
     * 查询全部
     * @return
     */
    List<CarPackageAuditHistory> list();

    InputStream getProcessImageByAuditId(Long id);
}
